MailPoet\Cron\Workers\SendingQueue\Migration S

Total Complexity 32
Dependencies 6
Dependents 4
Total lines 245
Lines of code 181
Logical lines of code 83
Comment lines 25
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
migrateTaskSubscribers()
S
47 6 40
migrateSendingQueues()
S
47 4 39
prepareTaskStrategy()
S
53 5 23
migrateSubscribers()
S
55 4 19
resumeSending()
S
63 4 10
pauseSending()
S
63 2 12
getNextRunDate()
S
71 2 6
getTaskIdsForUnmigratedSubscribers()
S
62 1 13
checkProcessingRequirements()
S
76 1 4
processTaskStrategy()
S
72 1 6
checkUnmigratedColumnsExist()
S
71 1 5
getUnmigratedQueues()
S
76 1 4